﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace STS.Pacjent
{
    public partial class karta : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Master.FindControl("NavigationMenuR").Visible = false;
            if (Main.idpacjenta == 0)
            {
                tekst.Text = "Wybierz pacjenta!";
                tekst.Visible = true;
                //DropDownList1.Visible = false;
                //Button1.Visible = false;
                Panel1.Visible = false;
            }
            else
            {

                id_pacjenta.Text = Main.idpacjenta.ToString();
                Panel1.Visible = true;
            }
        }
    }
}